<%@ include file="header.jsp" %>

    <hr class="noscreen" />

    <h1 id="title">Login</h1>

    <!-- Three columns -->

    
        <div class="content-in box">

		  <br />

        <form action="/UBCDatingServer/login" method="post">
        <p class="nomt"><strong>Username:</strong>
          <input type="text" size="10" class="input" name="name" />
          <strong>Password:</strong>
          <input type="password" size="10" class="input" name="password"/>
          <input type="submit" class="input-submit-small" value="Sign In" />
        </p>
        </form>
        <%if (session.getAttribute("loggedIn")==Boolean.TRUE){ %>
        <meta HTTP-EQUIV="REFRESH" content="0; url=index.jsp">
        <%} %>
        
  
  <a href="forgotpassword.jsp">Forgot password?</a>
  <br />
  <a href="register.jsp">Don't have an account? Sign up here!</a>

    </div> <!-- /content -->

<%@ include file="footer.jsp"%>